package com.monochromebytes.mononet.test.network;

import java.io.Serializable;

import com.monochromebytes.mononet.test.Body;



public class SnapshotMessage implements Serializable {

    private static final long serialVersionUID = -5575819761972920212L;

    private long timestamp;
    private Body body;
    
    public SnapshotMessage(Body body) {
        this.body = body;
        this.timestamp = System.currentTimeMillis();
    }

    public Body getBody() {
        return body;
    }

    public long getTimestamp() {
        return timestamp;
    }
}
